gtk-demo: Recognize .svg as images
authorMatthias Clasen <mclasen@redhat.com>
Tue, 6 Oct 2020 19:11:08 +0000 (15:11 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 6 Oct 2020 19:11:08 +0000 (15:11 -0400)
We can't guarantee that we can load it, but worst
case you'll get a missing image.

demos/gtk-demo/main.c

index db66928c88ed8bb631409d08b4debc3bf1ee4aa1..84efebba41e70ec2d52b4758b180dee410f483b2 100644 (file)
@@ -410,6 +410,7 @@ static struct {
   { ".gif", NULL, display_image },
   { ".jpg", NULL, display_image },
   { ".png", NULL, display_image },
+  { ".svg", NULL, display_image },
   { ".c", "c", display_text },
   { ".css", "css", display_text },
   { ".glsl", NULL, display_text },